<template>
  <div class="not-found">
    <div class="site-content__wrapper">
      <div class="site-content">
        <div class="image"></div>
        <p class="not-found-desc">
          抱歉！页面
          <em>失联</em> 啦 ...
        </p>
        <!-- <el-button @click="$router.back()">返回上一页</el-button> -->
        <el-button type="primary" class="not-found-btn-back" @click="$router.push('/')">返回首页</el-button>
      </div>
    </div>
  </div>
</template>

<script setup>
</script>

<style scoped lang="scss">
.not-found {
  position: absolute;
  top: 60px;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;

  .image {
    background: url('@/assets/image/404.png') no-repeat;
    width: 300px;
    height: 300px;
  }

  .site-content {
    position: fixed;
    top: 10%;
    left: 50%;
    z-index: 2;
    padding: 30px;
    text-align: center;
    transform: translate(-50%, 0);
  }

  .not-found-desc {
    margin: 0 0 30px;
    font-size: 26px;
    text-transform: uppercase;
    color: rgb(118, 131, 143);

    >em {
      font-style: normal;
      color: #ee8145;
    }
  }

  // .not-found-btn-back {
  //   margin-left: 30px;
  // }
}
</style>
